package org.nmgyjt.springboot.beans.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("用户创建对象")
@Data
public class CsSystemUserCreateBean extends CsSystemSourceExtCreateBean {

    @ApiModelProperty(required = true, value = "管理员姓名", dataType = "string")
    @NotEmpty(message = "人员姓名为必填项")
    private String name;

    @ApiModelProperty(required = false, value = "管理员用户 ID", dataType = "string")
    @NotEmpty(message = "管理员用户 ID")
    private String userId;

    @NotEmpty(message = "管理员的单位/组织名称为必填项")
    @ApiModelProperty(required = false, value = "管理员的单位/组织名称", dataType = "string")
    private String adminOrgName;

    @NotEmpty(message = "管理员的单位/组织名称为必填项")
    @ApiModelProperty(required = false, value = "管理员的单位/组织ID", dataType = "string")
    private String adminOrgID;

    @NotEmpty(message = "添加人员单位/组织名称为必填项")
    @ApiModelProperty(required = true, value = "管理员的单位/组织名称", dataType = "string")
    private String orgName;

    @ApiModelProperty(required = true, value = "管理员的单位/组织ID", dataType = "string")
    private String orgID;

    @ApiModelProperty(required = true, value = "管理员的单位/组织ID", dataType = "string")
    private String depId;

    @NotEmpty(message = "管理员的职务为必填项")
    @ApiModelProperty(required = true, value = "管理员的职务", dataType = "string")
    private String job;

    @NotEmpty(message = "工作类型")
    @ApiModelProperty(required = false, value = "工作类型", dataType = "string")
    private String jobType;

    @ApiModelProperty(required = false, value = "管理员的科室/机构下的内设机构", dataType = "string")
    private String office;

    @NotEmpty(message = "手机号码为必填项")
    @ApiModelProperty(required = true, value = "手机号码", dataType = "string")
    private String phone;

    @NotEmpty(message = "前端传参菜单名称不允许为空")
    @ApiModelProperty(required = false, value = "菜单名称", dataType = "string")
    private String menuName;

    @NotEmpty(message = "前端传参菜单名称不允许为空")
    @ApiModelProperty(required = true, value = "菜单名称", dataType = "string")
    private String menuID;

    @ApiModelProperty(required = false, value = "行政区划编码(当前管理员的行政区划编码)", dataType = "string")
    private String areaCode;

    @ApiModelProperty(required = false, value = "行政区划名称(指挥体系是必须传)", dataType = "string")
    private String areaName;

    @ApiModelProperty(required = false, value = "是否为领导", dataType = "string")
    private Integer isLeader = 0;

    @NotEmpty(message = "管理员账号不允许为空")
    @ApiModelProperty(required = true, value = "管理员手机号码", dataType = "string")
    private String createdBy;

    @ApiModelProperty(required = false, value = "排序号码", dataType = "integer")
    private Integer udOrder;

    @ApiModelProperty(required = false, value = "id", dataType = "string")
    private String id;

    @ApiModelProperty(required = false, value = "专家数量", dataType = "string")
    private String expErtNum;

    @ApiModelProperty(required = false, value = "专家类型数量", dataType = "string")
    private String expErtTypeNum;
}
